package day05;

public class ArrayDemo3 {
    public static void main(String[] args) {
        int[] a=new int [5];
        System.out.println("数组的长度："+a.length);
        System.out.println(a[0]);
        a[0]=100;
        a[1]=200;
        System.out.println(a[0]);
        System.out.println(a[1]);
        System.out.println(a[a.length-1]);//最后一个元素下标


    }
}
